package com.gitee.chili.leisure.service;

import com.gitee.chili.leisure.base.BaseService;
import com.gitee.chili.leisure.domain.Account;
import com.gitee.chili.leisure.domain.Currency;
import com.gitee.chili.leisure.domain.EntryRoom;
import com.gitee.chili.leisure.domain.Member;
import com.gitee.chili.leisure.domain.dto.MemberVo;
import com.gitee.chili.leisure.repository.MemberRepository;

/**
 * IMemberService
 *
 * @author week solider
 * @since 2020.09.01
 */
public interface IMemberService extends BaseService<Long, Member, MemberRepository> {

    Account getAccount(Member member, Currency currency);

    Member query(String phone);

    Member query(String username, String password);

    EntryRoom disconnection(Long id);

    MemberVo builder(Member member);

}
